package com.example.book.domain.wx;

import com.example.book.base.BaseEntity;

import java.io.Serializable;


/**
 * @author hcj
 * @date 2018-09-18 22:44:47
 */
public class WxUser extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 绑定其他账号登陆名称
     */
    private String loginName;
    /**
     * 密码
     */
    private String password;
    /**
     * 性别 0 男 1女 2 未知
     */
    private String gender;
    /**
     * 登录ip
     */
    private String loginIp;
    /**
     * 头像地址
     */
    private String avatar;
    /**
     * 微信openid
     */
    private String openid;
    /**
     * 微信unionid
     */
    private String unionid;

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginName() {
        return this.loginName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return this.password;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getGender() {
        return this.gender;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginIp() {
        return this.loginIp;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getOpenid() {
        return this.openid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getUnionid() {
        return this.unionid;
    }
}